package dao

import (
	"time"
)

// 这是 LiMemberWithdrawApply 的全局公开dao对象
var LiMemberWithdrawApplyDao = liMemberWithdrawApplyDao{}

// 这是 li_member_withdraw_apply表 的实体类
type LiMemberWithdrawApply struct {
	Id            int       `json:"id" form:"id" v:"id"`                                             // ID
	CreateBy      string    `json:"create_by" form:"create_by" v:"create_by"`                        // 创建者
	CreateTime    time.Time `json:"create_time" form:"create_time" v:"create_time"`                  // 创建时间
	DeleteFlag    bool      `json:"delete_flag" form:"delete_flag" v:"delete_flag" gm:"delete_flag"` // 删除标志 true/false 删除/未删除
	UpdateBy      string    `json:"update_by" form:"update_by" v:"update_by"`                        // 更新者
	UpdateTime    time.Time `json:"update_time" form:"update_time" v:"update_time"`                  // 更新时间
	ApplyMoney    float64   `json:"apply_money" form:"apply_money" v:"apply_money"`                  // 申请提现金额
	ApplyStatus   string    `json:"apply_status" form:"apply_status" v:"apply_status"`               // 提现状态
	InspectRemark string    `json:"inspect_remark" form:"inspect_remark" v:"inspect_remark"`         // 审核备注
	InspectTime   time.Time `json:"inspect_time" form:"inspect_time" v:"inspect_time"`               // 审核时间
	MemberId      string    `json:"member_id" form:"member_id" v:"member_id"`                        // 会员ID
	MemberName    string    `json:"member_name" form:"member_name" v:"member_name"`                  // 会员名称
	Sn            string    `json:"sn" form:"sn" v:"sn"`                                             // 编号

}

// 注意:这是 LiMemberWithdrawApply 的私有dao对象
type liMemberWithdrawApplyDao struct {
	Insert func(arg LiMemberWithdrawApply) int                   //插入一条记录
	Update func(arg LiMemberWithdrawApply) int                   //更新一条记录
	Delete func(arg LiMemberWithdrawApply) int                   //删除一条记录
	Select func(arg LiMemberWithdrawApply) LiMemberWithdrawApply //获取一条记录
}
